home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 005 / utilbill.arc / UTILBILL.DOC < prev   
Encoding:
Text File  |  1984-10-26  |  8.4 KB  |  148 lines

  1.                               UTILITY BILL AUDIT
  2.      
  3.                       Here's a program enabling you verify
  4.                           your electricity, gas, water
  5.                           and phone bills.  Written by
  6.                          Larry Bihlmeyer and loaded by
  7.                           yours truly for you to try.
  8.      
  9.  
  10.      UTILITY BILL AUDIT is a versatile program that lets you check your 
  11.      electric, gas, water and phone bills for accuracy, or split the costs 
  12.      of these bills among the people living in your household.  Also, if 
  13.      you are interested in energy savings (and who isn't), you can monitor 
  14.      your daily electric and gas consumption with this program.
  15.      
  16.      PERSONALIZING THE PROGRAM
  17.      Before you RUN this program, it is necessary to have a thorough 
  18.      understanding of how each bill is split up according to the values 
  19.      (1,1,1,1) given in the DATA statement in line 1640.  These values are 
  20.      assigned to the variable N(X) and represents the number of 
  21.      individuals who must pay each bill.  In its present form, the program 
  22.      assumes that the electric and water bills will be paid by one 
  23.      individual, the phone bill by one and the gas bill by one individual.
  24.      However, it's unlikely that these numbers will correspond to the 
  25.      financial arrangements in every household.  So, be sure to substitute 
  26.      the appropriate values in this line before you continue.  (Example: 
  27.      2,1,2,4).
  28.  
  29.      Since the program works on the actual costs of your utility bills 
  30.      based on local rates, certain information about about these rates 
  31.      must be provided before you can run the program.  This information is 
  32.      READ in lines 380 and 400 from the DATA statements in lines 
  33.      1650-1680.
  34.      
  35.      Notice that the first three DATA statements in this sequence have 
  36.      nine entries and apply to the electric, gas and water bills 
  37.      respectively.  Let's consider line 1650 as an example.  The first 
  38.      entry in this line is the name of the utility (ELECTRIC) for which 
  39.      the rates that follow apply.  The second entry is the unit of 
  40.      measurement for that particular utility (KWH for kilowatt hours).  
  41.      The next entry is the minimum service charge for the utility ($5.40 
  42.      for electricity).  The fourth entry is the tax rate based on the sum 
  43.      of the service charge and the rate charge (0 percent for electric 
  44.      use).  These first four DATA entries are READ in as A$(1), B$(1), 
  45.      M(1) and Z(1), respectively.
  46.      
  47.      At this point, the numbers begin to get a little confusing, so read 
  48.      carefully.  The next two numbers are cutoff limits for each electric 
  49.      rate and are represented in the program by L1(1) and L2(1).  The last 
  50.      three numbers are the actual rates charged per KWH used for each 
  51.      level of usage (R1(1), R2(1) and R3(1) in the program.  Thus the 
  52.      program is presently set up so that the rate charged for electricity 
  53.      is $.0495 for first 350 KWH, $.0565 for the next 959 KWH (i.e., 1300 
  54.      minus 350), and $.0541 for any usage exceeding 1300 KWH.
  55.      
  56.      The DATA statement in line 1680 is easier to follow:  the utility 
  57.      (PHONE), the minimum service charge ($13.50), and the tax rate on the 
  58.      service charge and long distance calls (3 percent). 
  59.      
  60.      So, get out your most recent bills and read off the various rates 
  61.      (per KWH for electric, per CCF or hundred cubic feet for gas and 
  62.      water).  If the rates are not given on a bill, contact the utility 
  63.      company to get a schedule of the latest rates.  Then just substitute 
  64.      your local rates for those in the DATA statements in lines 1650 to 
  65.      1680 by making a copy of this program to your word processor - 
  66.      UTILBILL.BAS, back it up before you start and have at it.  OR, re-work 
  67.      the program to make it a little more user friendly by giving you the 
  68.      opportunity at the opening of the program to enter your utility rates 
  69.      at will.
  70.      
  71.      PROGRAM OPERATION
  72.      After inserting the correct rates, RUN the program.  You will then be 
  73.      asked which utility bill you wish to check.  The first three menu 
  74.      choices are electric, gas and water.  Bills for these three utilities 
  75.      are all calculated in the routine beginning at line 560.
  76.      
  77.      When the routine at line 560 is executed, you will be required to 
  78.      INPUT the present and previous meter readings.  These values can be 
  79.      read directly from your latest electric bill.  Next, you must INPUT 
  80.      the number of days in the billing period. Then you will be asked to 
  81.      INPUT any adjustments to the bill, either positive (for example, 
  82.      connection fees, previous balances) or negative (credits).
  83.      
  84.      The program will next calculate the amount of electricity consumed 
  85.      for the given period (defined as U in line 720).  Then, depending on 
  86.      the value of U relative to the two rate limits, L1(1) and L2(X) 
  87.      [lines 740 and 750], an amount owed (T) before tax and adjustments 
  88.      will be calculated (lines 760, 780 and 800).  Next, the tax on this 
  89.      amount will be determined (T1).  And finally a total electric bill - 
  90.      the sum of the minimum charge, usage cost, tax and adjustments - will 
  91.      be calculated (T3) in line 830.
  92.      
  93.      The results are then PRINTed on the screen with provisions for 
  94.      formatting the output to two places past the decimal.  Any numbers in 
  95.      the third place past the decimal are simply dropped.  If you prefer 
  96.      rounded numbers, you could easily modify the to achieve that.
  97.      
  98.      The routine beginning at line 560, as mentioned, also calculates the 
  99.      gas and water bills.  These are based on the rates READ from the DATA 
  100.      statements in line 1660 and 1670.  Notice the sets of large numbers 
  101.      (precisely, 99999) in line 1660.  The rates for gas where you live 
  102.      may be the same, regardless of the amount used.  By using large 
  103.      numbers here for the cutoff limits, L1(2) and L2(2), for this 
  104.      utility, it's unlikely that the actual usage will exceed these 
  105.      amounts (see lines 740 and 750).  Thus, the charge for this commodity 
  106.      will always be based on the first rate, or R1.
  107.      
  108.      The rates for water, as READ form the DATA statement in line 1670, 
  109.      are based on a single cutoff limit (L1(3)) of 1000 CCF.  For less 
  110.      than this, a usage rate (R1(3)) of $.144 per CCF is charged.  If 
  111.      water usage exceeds 1000 CCF, a second rate (R2(3)) of $.160 is 
  112.      charged.  Again, using a very large number (99999) for the second 
  113.      cutoff limit (L2(3)) assures that the overall usage cost is based 
  114.      only on two rates.
  115.      
  116.      ANALYZING THE PHONE BILL
  117.      Phone bills are checked in a separate routine in the program 
  118.      beginning at line 1110.  In the routine, adjustments to the bill are 
  119.      initially INPUT in the same manner as they are with the electric, gas 
  120.      and water bills.  Next, the person responsible for each long distance 
  121.      charge is required to INPUT the amount of each long distance call.  A 
  122.      separate routine (lines 1260-1360) allows the individual to correct 
  123.      any typeing mistakes.  Finally, the amount owed by one individual is 
  124.      displayed.
  125.      
  126.      The portion of the phone bill that each person must pay is the sum of 
  127.      their long distance tolls, a proportional amount of both the service 
  128.      charge and the billing adjustments, and a proportional amount of the 
  129.      tax levied on the service and long sictance calls.  Again, if more 
  130.      than one person in the household foots the telephone bill, the last 
  131.      number in line 1640 should be changed.
  132.      
  133.      In addition to enabling you to catch billing errors and helping you 
  134.      to easily divide up household bills, this program can help you 
  135.      monitor your costs.  If you add an energy-saving device that is 
  136.      supposed to save, say, 10 percent of your total electric bill, take a 
  137.      metter reading when it is installed and verify the savings with a 
  138.      later reading,  You can also project weekly, monthly and yearly 
  139.      savings for any utility in this manner.
  140.      
  141.                          Good Luck......J.W. Schroeder
  142.                                      
  143.                                       ###
  144.  
  145.  
  146.  
  147.